package com.example.lpactivity.fragment.viewpage;

import android.support.v4.app.Fragment;

/**
 * Author by lp,on 2021/6/25/025,11:42.
 */
public class FragmentFactory {
    public Fragment getFramgnet(String text,String TAG) {
        Fragment1 fragment1 = new Fragment1();
        fragment1.setUrl(text);
        fragment1.setTAG(TAG);
        return fragment1;
    }

}
